﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200108F RID: 4239
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueWorkbenchGetInfoCsReq : IMessage<RogueWorkbenchGetInfoCsReq>, IMessage, IEquatable<RogueWorkbenchGetInfoCsReq>, IDeepCloneable<RogueWorkbenchGetInfoCsReq>, IBufferMessage
	{
		// Token: 0x1700357A RID: 13690
		// (get) Token: 0x0600BD46 RID: 48454 RVA: 0x001FE7F4 File Offset: 0x001FC9F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueWorkbenchGetInfoCsReq> Parser
		{
			get
			{
				return RogueWorkbenchGetInfoCsReq._parser;
			}
		}

		// Token: 0x1700357B RID: 13691
		// (get) Token: 0x0600BD47 RID: 48455 RVA: 0x001FE7FB File Offset: 0x001FC9FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueWorkbenchGetInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700357C RID: 13692
		// (get) Token: 0x0600BD48 RID: 48456 RVA: 0x001FE80D File Offset: 0x001FCA0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueWorkbenchGetInfoCsReq.Descriptor;
			}
		}

		// Token: 0x0600BD49 RID: 48457 RVA: 0x001FE814 File Offset: 0x001FCA14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueWorkbenchGetInfoCsReq()
		{
		}

		// Token: 0x0600BD4A RID: 48458 RVA: 0x001FE81C File Offset: 0x001FCA1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueWorkbenchGetInfoCsReq(RogueWorkbenchGetInfoCsReq other) : this()
		{
			this.propEntityId_ = other.propEntityId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BD4B RID: 48459 RVA: 0x001FE841 File Offset: 0x001FCA41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueWorkbenchGetInfoCsReq Clone()
		{
			return new RogueWorkbenchGetInfoCsReq(this);
		}

		// Token: 0x1700357D RID: 13693
		// (get) Token: 0x0600BD4C RID: 48460 RVA: 0x001FE849 File Offset: 0x001FCA49
		// (set) Token: 0x0600BD4D RID: 48461 RVA: 0x001FE851 File Offset: 0x001FCA51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x0600BD4E RID: 48462 RVA: 0x001FE85A File Offset: 0x001FCA5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueWorkbenchGetInfoCsReq);
		}

		// Token: 0x0600BD4F RID: 48463 RVA: 0x001FE868 File Offset: 0x001FCA68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueWorkbenchGetInfoCsReq other)
		{
			return other != null && (other == this || (this.PropEntityId == other.PropEntityId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BD50 RID: 48464 RVA: 0x001FE898 File Offset: 0x001FCA98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BD51 RID: 48465 RVA: 0x001FE8D7 File Offset: 0x001FCAD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BD52 RID: 48466 RVA: 0x001FE8DF File Offset: 0x001FCADF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BD53 RID: 48467 RVA: 0x001FE8E8 File Offset: 0x001FCAE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BD54 RID: 48468 RVA: 0x001FE91C File Offset: 0x001FCB1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BD55 RID: 48469 RVA: 0x001FE95A File Offset: 0x001FCB5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueWorkbenchGetInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BD56 RID: 48470 RVA: 0x001FE98B File Offset: 0x001FCB8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BD57 RID: 48471 RVA: 0x001FE994 File Offset: 0x001FCB94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PropEntityId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004C35 RID: 19509
		private static readonly MessageParser<RogueWorkbenchGetInfoCsReq> _parser = new MessageParser<RogueWorkbenchGetInfoCsReq>(() => new RogueWorkbenchGetInfoCsReq());

		// Token: 0x04004C36 RID: 19510
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004C37 RID: 19511
		public const int PropEntityIdFieldNumber = 13;

		// Token: 0x04004C38 RID: 19512
		private uint propEntityId_;
	}
}
